block  ../../layout.pug

block prevScript
  script(src="/javascripts/webapi/Stream/utils/pako.min.js")
  script(src="/javascripts/webapi/Stream/utils/crc.js")
  script(src="/javascripts/webapi/Stream/utils/png-lib.js") 

block content
  include ../documentPath.pug

  h1 PNG 灰度图
  p 左边是原始图，右边是使用自定义流创建的灰度图
  img(src="/images/tortoise.png" width="150" height="84")
  img(src="/images/tortoise.png" width="150" height="84")#target

  script(src="/javascripts/webapi/Stream/grayscalePng.js") 